/*
 * Copyright Iain Sproat, 2009
 * 
 *
 */
using System;

namespace FreeBase.Domain
{
	/// <summary>
	/// This is the equivalent of a freebase /type/key value type
	/// </summary>
	public class FBKey : FBValueType<string>
	{
		public FBKey()
		{
		}
		public FBKey( string val )
		{
			this.Value = val;
		}
		
		public FBNamespace Namespace{ get; set; }
		public override string Value{ get; set; }
		
		public static implicit operator FBKey( string key )
		{
			FBKey k = new FBKey();
			k.Value = key;
			return k;
		}
	}
}
